/**
 * Create by CaoWenjian
 *
 * @copyRight: 2018
 **/
package com.bjboot.caocao.system.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *@Description 本系统在yml文件中的配置信息读取
 *@Author 操文健
 *@Date 2018-09-07 下午4:33
 *@Version 1.0
 **/
@Component
@ConfigurationProperties(prefix="bjboot")  // 读取前缀为 bjboot 的配置信息
public class BJBootSysConfigParam {

    // 文件上传路径
    private String uploadPath = "/var/upload/";

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }
}
